Sphinx (documentation generator)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
Sphinx is a documentation generator written and used by the Python community. It is written in Python, and also used in other environments.
Contents
• See also
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Purpose and function
reStructuredText is extensible, and Sphinx exploits its extensible nature through a number of extensions – for autogenerating documentation from source code, writing mathematical notation or highlighting source code, etc.
HTML themes
History and use
In 2010, Eric Holscher announcedcite-ref-13[13] the creation of the Read the Docs project as part of an effort to make maintenance of software documentation easier. Read the Docs automates the process of building and uploading Sphinx documentation after every commit.
Linux kernel
The Linux kernel's documentation subsystem underwent changes in 2016. Starting in the 4.7 cycle, the documentation started switching over to use Sphinx.cite-ref-14[14]
• Talk at LCA2016: What I've learned as the kernel docs maintainer on YouTube
• Talk at LCA2017: Kernel documentation: what we have and where it's going on YouTube
See also
References
cite-note-11. "Sphinx 8.2.3 (Python Package Index)". Python Package Index. Retrieved 23 June 2025.
cite-note-22. "Changes in Sphinx". Sphinx.
cite-note-33. ↑ "HTML Theming". Sphinx documentation. Georg Brandl and the Sphinx team. Retrieved 2022-06-25.
cite-note-44. ↑ "Sphinx Themes". Write the Docs. Retrieved 2022-06-25.
cite-note-55. ↑ "Read the Docs Sphinx Theme". sphinx-rtd-theme code repository. GitHub. Retrieved 2022-06-25.
cite-note-66. ↑ "Sphinx Bootstrap Theme". sphinx_bootstrap_theme code repository. GitHub. Retrieved 2022-06-25.
cite-note-77. ↑ "Guzzle Sphinx Theme". guzzle_sphinx_theme code repository. GitHub. Retrieved 2022-06-25.
cite-note-88. ↑ "Documatt Sphinx Themes Collection". Documatt.com. Retrieved 2022-06-25.
cite-note-99. ↑ "Sphinx is released! » And now for something completely Pythonic..." And now for something completely Pythonic... Georg Brandl. Archived from the original on 2012-03-22. Retrieved 2011-04-03.
cite-note-1010. ↑ "About these documents — Python v2.7.1 documentation". Python documentation. Python Software Foundation. Retrieved 2011-04-03.
cite-note-1111. ↑ "Blender User Manual". Blender Wiki. Blender Foundation.
cite-note-1212. ↑ "Dev:2.5/Py/API/Generating API Reference - BlenderWiki!". Blender Foundation.
cite-note-1313. ↑ "Announcing Read The Docs". Python Software Foundation News. Eric Holscher. Retrieved 2015-02-15.
External links
• Sphinx documentation generator project website
• Read the Docs large-scale, collaborative documentation host powered by Sphinx